package org.dizem.groupon.dao;

import org.dizem.groupon.model.domain.ItemEntity;

import java.util.List;

/**
 * User: dizem@126.com
 * Time: 11-6-26 下午8:08
 */
public interface ItemDAO extends DAOSupport<ItemEntity> {
	List<ItemEntity> loadPastList(int firstResult, int maxResult);

	List<ItemEntity> loadCurrentList(int firstResult, int maxResult);

	int getCurrentCount();

	int getPastCount();

}
